package com.linuxone.tools.server;

import java.util.Map;

import com.linuxone.tools.client.ToolsService;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

/**
 * The server side implementation of the RPC service.
 */
@SuppressWarnings("serial")
public class ToolsServiceImpl extends RemoteServiceServlet implements
		ToolsService {

	@Override
	public Map<String, String> getItemList(String ListName)
			throws IllegalArgumentException {
		
	    MenuItemList MenuItemList = new MenuItemList(ListName);
		return MenuItemList.getItemList();
	}
}
